<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content">
	    <div class="btn-group hidden-xs" id="toolbar" role="group">
	    	<div class="form-group">
	            <button type="button" class="btn btn-outline btn-default" onclick="javascript:add(1)" shiro:hasPermission="system:dept:add">
                    <i class="fa fa-plus"></i> 新增
                </button>
				<button class="btn btn-default btn-outline dropdown-toggle" onclick="javascript:mouldDept()" >
					<i class="glyphicon glyphicon glyphicon-save"></i> 下载/导入模板
				</button>
			</div>
        </div>
		<table class="bootstrap-table" data-mobile-responsive="true">
		</table>
	</div>
	<div th:include="include :: footer"></div>
	<script src="/yunnuo/system/dept/dept.js" th:src="@{/yunnuo/system/dept/dept.js}"></script>
	<script th:inline="javascript">
		var addFlag = [[${@permissionService.hasPermi('system:dept:add')}]];
		var editFlag = [[${@permissionService.hasPermi('system:dept:edit')}]];
		var removeFlag = [[${@permissionService.hasPermi('system:dept:remove')}]];
	</script>
</body>
</html>